@import url('https://fonts.googleapis.com/css?family=Allura|Josefin+Sans');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  background-color:#16655a;
  font-family: 'Josefin Sans', sans-serif;
}

.wrapper{
  margin-top: 10%;
}

.wrapper .intro {
width:60%;
margin: auto; 
text-align: center;
}

.wrapper .intro h1{
  font-family: 'Allura', cursive;
  font-size: 55px;
  margin-bottom: 60px;
  text-align: center;
}

.wrapper .intro p{
  font-size: 25px;
  font-family: sans-serif;
  margin-bottom: 30px;
  color: #131313;
}

.wrapper .intro h2{
  font-family: 'Lato', cursive;
  font-size: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.team{
  display: flex;
  justify-content: center;
  width: auto;
  text-align: center;
  flex-wrap: wrap;
}

.team .team_member{
  background-color:#084843;
  margin: 5px;
  margin-bottom: 50px;
  width: 300px;
  padding: 20px;
  line-height: 20px;
  color: #2ba8b4;  
  position: relative;
}

.team .team_member:hover{
background-color: #f3f3f3;
transition: 0.3s;
}

.team .team_member .team-info h3{
  color: #7d95be;
  font-size: 26px;
  margin-top: 50px;
}

.team .team_member .team-info p{
  text-align: justify;
}

.team .team_member .team-info p.role{
  color: #ccc;
  margin: 12px 0;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
}

.team .team_member .team_img{
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 100px;
  border-radius: 50%;
}

.team .team_member .team_img img{
  width: 120px;
  height: 100px;
  padding: 5px;
}

@media screen and(max-width:900px){
  .wrapper .team{
    grid-template-column:(2,1fr);
  }
}

@media screen and (max-width:768px){
  .wrapper .team{
     grid-template-column:1fr;
  }
}